<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>:disabled pseudo-class</title>
  <style type="text/css">button { background-color : red }
input { background-color : red }
button:disabled { background-color : lime }
input:disabled { background-color : lime }</style>
  <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
  <link rel="prev" href="css3-modsel-23.html" title=":enabled pseudo-class">
  <link rel="next" href="css3-modsel-25.html" title=":checked pseudo-class">
  <link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
  <link rel="up" href="./index.html">
  <link rel="top" href="../../index.html">
 </head>
 <body>
<p>
 <button disabled="disabled">A button (disabled) with green background</button>
 <br>
 <input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background">
</p>
</body>
</html>